package com.ycd.Entity;

import java.util.Date;

/**
 * @Description 新闻实体类
 * @Author ycd
 * @Date : 2022/3/11 16:23
 * @Version : 1.0
 */
public class XinWenEntity {
    //新闻id
    private Integer id;
    //标题
    private String title;
    //描述
    private int descr;
    //编码
    private String CHNL_CODE;
    //主图
    private String MAIN_IMG;
    //详情
    private String DETAIL;
    //关键词
    private String KEYWORD;
    //新闻来源
    private String SOURCE;
    //是否置顶
    private int TOP;
    //状态
    private int STATE;
    //操作人
    private String OPTOR;
    //创建时间
    private Date CRTIME;
    //更新时间
    private Date UPTIME;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getDescr() {
        return descr;
    }

    public void setDescr(int descr) {
        this.descr = descr;
    }

    public String getCHNL_CODE() {
        return CHNL_CODE;
    }

    public void setCHNL_CODE(String CHNL_CODE) {
        this.CHNL_CODE = CHNL_CODE;
    }

    public String getMAIN_IMG() {
        return MAIN_IMG;
    }

    public void setMAIN_IMG(String MAIN_IMG) {
        this.MAIN_IMG = MAIN_IMG;
    }

    public String getDETAIL() {
        return DETAIL;
    }

    public void setDETAIL(String DETAIL) {
        this.DETAIL = DETAIL;
    }

    public String getKEYWORD() {
        return KEYWORD;
    }

    public void setKEYWORD(String KEYWORD) {
        this.KEYWORD = KEYWORD;
    }

    public String getSOURCE() {
        return SOURCE;
    }

    public void setSOURCE(String SOURCE) {
        this.SOURCE = SOURCE;
    }

    public int getTOP() {
        return TOP;
    }

    public void setTOP(int TOP) {
        this.TOP = TOP;
    }

    public int getSTATE() {
        return STATE;
    }

    public void setSTATE(int STATE) {
        this.STATE = STATE;
    }

    public String getOPTOR() {
        return OPTOR;
    }

    public void setOPTOR(String OPTOR) {
        this.OPTOR = OPTOR;
    }

    public Date getCRTIME() {
        return CRTIME;
    }

    public void setCRTIME(Date CRTIME) {
        this.CRTIME = CRTIME;
    }

    public Date getUPTIME() {
        return UPTIME;
    }

    public void setUPTIME(Date UPTIME) {
        this.UPTIME = UPTIME;
    }

    @Override
    public String toString() {
        return "XinWenEntity{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", descr=" + descr +
                ", CHNL_CODE='" + CHNL_CODE + '\'' +
                ", MAIN_IMG='" + MAIN_IMG + '\'' +
                ", DETAIL='" + DETAIL + '\'' +
                ", KEYWORD='" + KEYWORD + '\'' +
                ", SOURCE='" + SOURCE + '\'' +
                ", TOP=" + TOP +
                ", STATE=" + STATE +
                ", OPTOR='" + OPTOR + '\'' +
                ", CRTIME=" + CRTIME +
                ", UPTIME=" + UPTIME +
                '}';
    }
}
